SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE VIEW dbo.vweComisionesValorables
AS
SELECT idComisionValorable AS ID, Agente, FechaInicio, FechaFin, Organizacion, Descripcion, GrupoIncumbencias, Observaciones, 
               FechaPresentacion
FROM  dbo.tb_ComisionesValorables
GO
GRANT SELECT ON  [dbo].[vweComisionesValorables] TO [Juntas]
GRANT INSERT ON  [dbo].[vweComisionesValorables] TO [Juntas]
GRANT DELETE ON  [dbo].[vweComisionesValorables] TO [Juntas]
GRANT UPDATE ON  [dbo].[vweComisionesValorables] TO [Juntas]
GRANT SELECT ON  [dbo].[vweComisionesValorables] TO [MCEEjecutivo]
GRANT SELECT ON  [dbo].[vweComisionesValorables] TO [PersonalDocenteDireccion]
GRANT SELECT ON  [dbo].[vweComisionesValorables] TO [SoloVer]
GO
